package org.springblade.develop.vo;

import lombok.Getter;

/**
 * @description: TODO
 * @author: QinLei
 * @email: qlanto_147@163.com
 * @date: 2023年08月11日  9:06
 */
@Getter
public class TemplateServiceStatus {

	/**
	 * 树组件
	 *
	 * @author: QinLei
	 * @date: 2023年08月11日  9:03
	 */
	private TreeStatus treeStatus;
	/**
	 * 是否包含远程调用
	 */
	private Boolean hasFeign = Boolean.FALSE;
	/**
	 * 是否包含excel包装器
	 */
	private Boolean hasExcel = Boolean.FALSE;

	/**
	 * 是否包含wrapper包装器
	 */
	private Boolean hasWrapper = Boolean.FALSE;

	public TemplateServiceStatus(Boolean hasFeign, Boolean hasExcel, Boolean hasWrapper) {
		this.hasFeign = hasFeign;
		this.hasExcel = hasExcel;
		this.hasWrapper = hasWrapper;
	}

	public TemplateServiceStatus(TreeStatus treeStatus, Boolean hasFeign, Boolean hasExcel, Boolean hasWrapper) {
		this.treeStatus = treeStatus;
		this.hasFeign = hasFeign;
		this.hasExcel = hasExcel;
		this.hasWrapper = hasWrapper;
	}
}
